package day02;

public class Demo04 {
    public static void main(String[] args) {
        //            631
        //            4268421
        int n = 0b10111011110;
        //      0b10111110000
        int m = n % 32; //12
        int k = n & 0b11111; //12
        int g = n & (32-1); //12
        System.out.println(m);
        System.out.println(k);
        System.out.println(g);
        System.out.println(Integer.toBinaryString(g));
    }
}
